package me.haoliang.service.impl


import me.haoliang.entity.TraUser
import me.haoliang.repository.UserRepository
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

/**
  * author: planck 
  * createTime: 2016/11/9.
  */
@Service
class UserServiceImpl @Autowired()(val userRepository: UserRepository) extends UserService {

  override def queryList(): java.util.List[TraUser] = {
    userRepository.selectAll()
  }
}
